package com.huidao.dao;

import java.util.List;

import com.huidao.entity.Goods;
import com.huidao.entity.Shoppingcart;

public interface ShoppingcartDao {
	
	public boolean addShoppingcart(Shoppingcart shoppingcart);
	
	public boolean delShoppingcart(Long id);
	
	public boolean delAllShoppingcart();
	
	public boolean updateShoppingcart(Shoppingcart shoppingcart);
	
	public List<Shoppingcart> getAllListPage(int currentPage,int pageSize,Long id);
	
	public int getTotalCount();
	
	public String getUserShopnameByGoodsId(Long goodsid);
	
	public boolean clearShoppingcart(Long id);
}
